package com.woniu.learnlog.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.util.Random;

/**
 * created by woniu201
 * created in 2018/4/2
 */
@Component
public class LogService {

    private Logger logger = LoggerFactory.getLogger(getClass());

    public String logService1(){
        logger.debug("logService debug....");
        logger.info("logService info.....");
        return "aaaaaaaaaaaa";
    }
}
